package com.spring.common.web.dao;

import java.util.HashMap;
import java.util.List;

import com.spring.common.web.model.CrmContact;

public interface CrmContactMapper {
    int deleteByPrimaryKey(String id);

    int insert(CrmContact record);

    int insertSelective(CrmContact record);

    CrmContact selectByPrimaryKey(String id);
    List<CrmContact> selectByPhone(String phone);

    int updateByPrimaryKeySelective(CrmContact record);

    int updateByPrimaryKey(CrmContact record);
    
    int updatePhone(HashMap<String,Object> param);
}